package com.ruoyi.cbs.evaluate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 承包商考核明细对象 cbs_evaluate_detail
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class EvaluateDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 承包商考核记录ID */
    @Excel(name = "承包商考核记录ID")
    private Long recordId;

    /** 考核项id */
    @Excel(name = "考核项id")
    private Long itemId;

    /** 考核人 */
    @Excel(name = "考核人")
    private String evaluateUser;

    /** 考核人id */
    @Excel(name = "考核人id")
    private Long evaluateUserId;

    /** 考核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluateDate;

    /** 考核得分 */
    @Excel(name = "考核得分")
    private Long score;

    /** 删除标志（1代表存在 0代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setEvaluateUser(String evaluateUser) 
    {
        this.evaluateUser = evaluateUser;
    }

    public String getEvaluateUser() 
    {
        return evaluateUser;
    }

    public void setEvaluateUserId(Long evaluateUserId) 
    {
        this.evaluateUserId = evaluateUserId;
    }

    public Long getEvaluateUserId() 
    {
        return evaluateUserId;
    }

    public void setEvaluateDate(Date evaluateDate) 
    {
        this.evaluateDate = evaluateDate;
    }

    public Date getEvaluateDate() 
    {
        return evaluateDate;
    }

    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordId", getRecordId())
            .append("itemId", getItemId())
            .append("evaluateUser", getEvaluateUser())
            .append("evaluateUserId", getEvaluateUserId())
            .append("evaluateDate", getEvaluateDate())
            .append("score", getScore())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
